package com.aoxun.common.constant.enums;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
 * 员工状态枚举
 *
 * @author zhang_xf
 */
public enum EmpStatus implements IEnum{
    未绑定(0),
    已绑定(1);

    private int value;

    EmpStatus(final int value) {
        this.value = value;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }

    @Override
    public String toString(){
        switch (this.value) {
            case 0:
                return "未启用";
            case 1:
                return "启用";
        }
        return "未启用";
    }
}
